﻿#region

using System;
using TvdbLib.Data.Banner;

#endregion

namespace TvdbLib.Data
{
    /// <summary>
    ///     Class representing the result of a tvdb name query -> for further information
    ///     visit http://thetvdb.com/wiki/index.php/API:GetSeries
    /// </summary>
    public class TvdbSearchResult
    {
        #region Fields

        #endregion Fields

        #region Constructors

        /// <summary>
        ///     TvdbSearchResult constructor
        /// </summary>
        public TvdbSearchResult()
        {
        }

        /// <summary>
        ///     TvdbSearchResult constructor
        /// </summary>
        /// <param name="_id"> Id of series </param>
        public TvdbSearchResult(int _id)
        {
            Id = _id;
        }

        #endregion Constructors

        #region Properties

        /// <summary>
        ///     Banner of the returned series
        /// </summary>
        public TvdbSeriesBanner Banner { get; set; }

        /// <summary>
        ///     When was the returned series aired first
        /// </summary>
        public DateTime FirstAired { get; set; }

        /// <summary>
        ///     Id of the returned series
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        ///     Imdb id of the returned series
        /// </summary>
        public String ImdbId { get; set; }

        /// <summary>
        ///     Language of the returned series
        /// </summary>
        public TvdbLanguage Language { get; set; }

        /// <summary>
        ///     Overview of the returned series
        /// </summary>
        public String Overview { get; set; }

        /// <summary>
        ///     Name of the returned series
        /// </summary>
        public String SeriesName { get; set; }

        #endregion Properties
    }
}